package com.lyx.server.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * --- Be Humble and Hungry ---
 *
 * @author Liyuexian
 * @date 2024/8/14
 * @desc
 */
@FeignClient(value = "lyx-coupon")
public interface CouponService {
    //1.新用户 优惠券奖励
    @GetMapping("server/usercoupon/addnew")
    Integer addNew(@RequestParam("uid") Integer uid);

    //2.拉新 优惠券奖励
    @GetMapping("server/usercoupon/addask")
    Integer addAsk(@RequestParam("uid") Integer uid);
}
